Replaces illegal characters in a file or folder name with a specified character.
Syntax
ValidateFolderName(Name As String, ReplacementChar As String) As String
| Name | Description |
|---|---|
|
Name |
The file or folder name to validate. |
|
ReplacementChar |
The character with which to replace illegal characters. |
Remarks
Use this function to validate newly calculated file or folder names.
Related concepts